import React from 'react';
import { NavLink, Route } from 'react-router-dom'
import AAA from './AAA'
class Home extends React.Component {
  render() {
    console.log(this.props)
    let obj = {}
    this.props.location.search.replace(/([^?=&]+)=([^?=&]+)/g, function (a, b, c) {
      obj[b] = c;
    })
    console.log(obj)
    return <div className=''>
      首页
      <AAA></AAA>
    </div >;
  }
}
export default Home